def get_formatted_name(first_name,last_nsmr):
    full_name = first_name + " " +last_nsmr
    return full_name.title()


while True:
    print("\nPlease tell me you name:")
    f_name = input("First name:")
    l_name = input("Last name:")
    formatted_name = get_formatted_name(f_name,l_name);
    print("\nHello, "+formatted_name  +"！")